Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sip: sip_conncfg_set pass by reference #582

Merged
merged 1 commit into from
Oct 20, 2022
Merged

Conversation

alfredh
Copy link
Contributor

@alfredh alfredh commented Oct 19, 2022

the parameter struct sip_conncfg is passed by value, which means the whole struct has to be
copied to the call-stack.

it is more efficient to pass by reference, i.e. use a pointer

@sreimers sreimers merged commit de4e68f into main Oct 20, 2022
@sreimers sreimers deleted the sip_pass_by_reference branch October 20, 2022 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants